﻿using System;
using System.Collections.Generic;
using System.Text;
using OpenLab.DAL;
using OpenLab.Model;

namespace OpenLab.BLL
{

    public partial class BrancheBLL
    {
        public Branche Add(Branche branche)
        {
            return new BrancheDAL().Add(branche);
        }

        public int DeleteById(int id)
        {
            return new BrancheDAL().DeleteById(id);
        }

		public int Update(Branche branche)
        {
            return new BrancheDAL().Update(branche);
        }
        

        public Branche GetById(int id)
        {
            return new BrancheDAL().GetById(id);
        }
		public int GetTotalCount()
		{
			return new BrancheDAL().GetTotalCount();
		}
		
		public IEnumerable<Branche> GetPagedData(int minrownum,int maxrownum)
		{
			return new BrancheDAL().GetPagedData(minrownum,maxrownum);
		}
		
		public IEnumerable<Branche> GetAll()
		{
			return new BrancheDAL().GetAll();
		}
    }
}
